</div>

<!-- begin sidebar -->
<div id="sidebar">

<ul>
		<li>
		<h2><?php _e('Search'); ?></h2>
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
	</li>
	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
	<li>
		<h2><?php _e('Menu'); ?></h2>
		<ul><?php wp_list_pages('depth=1&title_li=' ); ?></ul>
	</li>
	<li>
		<h2><?php _e('Categories'); ?></h2>
		<ul>
		<?php wp_list_cats(); ?> 
		</ul>
	</li>

	<li>
		<h2><?php _e('Archives'); ?></h2>
		<ul>
		<?php wp_get_archives('type=monthly'); ?>
		</ul>
	</li>
	<?php if ( is_home() ) { get_links_list(); } ?>	
	
	<li>
		<h2><?php _e('Meta'); ?></h2>
		<ul>
			<?php wp_register(); ?>
			<li><?php wp_loginout(); ?></li>
			<li><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries RSS</a></li>
			<li><a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments RSS</a></li>
			<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
			<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
			<?php wp_meta(); ?>
		</ul>
	</li>
<?php endif; ?></ul>

</div>

<!-- end sidebar -->